package com.itheima.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.common.vo.Result;
import com.itheima.model.LineDataModel;
import com.itheima.service.ReportService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("report")
public class ReportController {

    @Reference(version = "1.0")
    private ReportService reportService;

    @GetMapping("getMemberReport")
    public Result getMemberReport(){
        return reportService.getMemberReport();
    }
}
